{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "id": "fa367d4f-dddb-43d9-8e97-3f4f15802940",
   "metadata": {},
   "outputs": [],
   "source": [
    "# DEV.GF_Pack_Archice_Will_Delete_for_deb_20251122.ipynb\n",
    "# Create by GF 2025-11-22 12:36"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "id": "5aac733c-5329-49ee-990e-face3376b1d5",
   "metadata": {},
   "outputs": [],
   "source": [
    "import pandas\n",
    "import PY3_Pandas_2_Read_Directory"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "id": "1522301f-a40a-4964-a9a8-a3cf4baf6128",
   "metadata": {},
   "outputs": [],
   "source": [
    "OBJ_PY3_Pandas_2_Read_Directory = PY3_Pandas_2_Read_Directory.PY3_Pandas_2_Read_Directory()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "id": "fa30786d-f02a-47a1-a16c-3124552290c1",
   "metadata": {},
   "outputs": [],
   "source": [
    "def Read_Will_Retain_deb_Packages(Directory_Pack_Archive_Will_Retain:str):\n",
    "\n",
    "    LIST_DataFrame:list = []\n",
    "    # ..............................................\n",
    "    JSON_Records = OBJ_PY3_Pandas_2_Read_Directory.Read_Directory(Directory_Pack_Archive_Will_Retain, Header = None)\n",
    "    # ..............................................\n",
    "    for Record in JSON_Records:\n",
    "        for df in Record[\"dataframe\"].values():\n",
    "            LIST_DataFrame.append(df)\n",
    "    # ..............................................\n",
    "    return pandas.concat(LIST_DataFrame, ignore_index = True)\n",
    "\n",
    "def Read_Will_Delete_deb_Packages(Directory_Pack_Archive_Will_Delete:str):\n",
    "\n",
    "    Pandas_DataFrame = Read_Will_Retain_deb_Packages(Directory_Pack_Archive_Will_Retain = Directory_Pack_Archive_Will_Delete)\n",
    "    # ..............................................\n",
    "    return Pandas_DataFrame"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "id": "2ad70f4f-914b-483e-95b4-383ff6ba95aa",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>0</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>apparmor-3.0.8-3-amd64.deb</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>apt-rdepends-1.3.0-10-all.deb</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>dpkg-1.21.22-amd64.deb</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>gcc-12-base-12.2.0-14-amd64.deb</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>libacl1-2.3.1-3-amd64.deb</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1937</th>\n",
       "      <td>liblz4-1-1.9.4-1-amd64.deb</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1938</th>\n",
       "      <td>liblzma5-5.4.1-0.2-amd64.deb</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1939</th>\n",
       "      <td>libstdc++6-12.2.0-14-amd64.deb</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1940</th>\n",
       "      <td>zlib1g-1%3a1.2.13.dfsg-1-amd64.deb</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1941</th>\n",
       "      <td>zstd-1.5.4+dfsg2-5-amd64.deb</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>1942 rows × 1 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "                                       0\n",
       "0             apparmor-3.0.8-3-amd64.deb\n",
       "1          apt-rdepends-1.3.0-10-all.deb\n",
       "2                 dpkg-1.21.22-amd64.deb\n",
       "3        gcc-12-base-12.2.0-14-amd64.deb\n",
       "4              libacl1-2.3.1-3-amd64.deb\n",
       "...                                  ...\n",
       "1937          liblz4-1-1.9.4-1-amd64.deb\n",
       "1938        liblzma5-5.4.1-0.2-amd64.deb\n",
       "1939      libstdc++6-12.2.0-14-amd64.deb\n",
       "1940  zlib1g-1%3a1.2.13.dfsg-1-amd64.deb\n",
       "1941        zstd-1.5.4+dfsg2-5-amd64.deb\n",
       "\n",
       "[1942 rows x 1 columns]"
      ]
     },
     "execution_count": 5,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "Will_Retain_deb_Packages_DataFrame = Read_Will_Retain_deb_Packages(\"./Pack_Archive_Will_Retain\")\n",
    "Will_Retain_deb_Packages_DataFrame[0] = Will_Retain_deb_Packages_DataFrame[0].apply(lambda x: x.replace('_', '-'))\n",
    "Will_Retain_deb_Packages_DataFrame"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "id": "36b7f79e-0b66-4963-b77f-f86687b938da",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>0</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>coreutils-9.1-1-amd64.deb</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>cpio-2.13+dfsg-7.1-amd64.deb</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>debconf-1.5.82-all.deb</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>dmsetup-2%3a1.02.185-2-amd64.deb</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>e2fsprogs-1.47.0-2-amd64.deb</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>gcc-12-base-12.2.0-14+deb12u1-amd64.deb</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>initramfs-tools-core-0.142+deb12u3-all.deb</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>initramfs-tools-0.142+deb12u3-all.deb</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>klibc-utils-2.0.12-1-amd64.deb</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>kmod-30+20221128-1-amd64.deb</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>libacl1-2.3.1-3-amd64.deb</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>libapparmor1-3.0.8-3-amd64.deb</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>libargon2-1-0~20171227-0.3+deb12u1-amd64.deb</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>libattr1-1%3a2.5.1-4-amd64.deb</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>libaudit-common-1%3a3.0.9-1-all.deb</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>libaudit1-1%3a3.0.9-1-amd64.deb</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>libblkid1-2.38.1-5+deb12u3-amd64.deb</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>libc6-2.36-9+deb12u10-amd64.deb</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>libcap-ng0-0.8.3-1+b3-amd64.deb</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>libcap2-1%3a2.66-4+deb12u1-amd64.deb</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>libcom-err2-1.47.0-2-amd64.deb</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>libcrypt1-1%3a4.4.33-2-amd64.deb</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>libcryptsetup12-2%3a2.6.1-4~deb12u2-amd64.deb</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>libdevmapper1.02.1-2%3a1.02.185-2-amd64.deb</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>libext2fs2-1.47.0-2-amd64.deb</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>libfdisk1-2.38.1-5+deb12u3-amd64.deb</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>libffi8-3.4.4-1-amd64.deb</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>libgcc-s1-12.2.0-14+deb12u1-amd64.deb</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>libgcrypt20-1.10.1-3-amd64.deb</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>libgmp10-2%3a6.2.1+dfsg1-1.1-amd64.deb</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>30</th>\n",
       "      <td>libgpg-error0-1.46-1-amd64.deb</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>31</th>\n",
       "      <td>libip4tc2-1.8.9-2-amd64.deb</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>32</th>\n",
       "      <td>libjson-c5-0.16-2-amd64.deb</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>33</th>\n",
       "      <td>libklibc-2.0.12-1-amd64.deb</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>34</th>\n",
       "      <td>libkmod2-30+20221128-1-amd64.deb</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>35</th>\n",
       "      <td>liblz4-1-1.9.4-1-amd64.deb</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>36</th>\n",
       "      <td>liblzma5-5.4.1-1-amd64.deb</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>37</th>\n",
       "      <td>libmount1-2.38.1-5+deb12u3-amd64.deb</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>38</th>\n",
       "      <td>libp11-kit0-0.24.1-2-amd64.deb</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>39</th>\n",
       "      <td>libpam0g-1.5.2-6+deb12u1-amd64.deb</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>40</th>\n",
       "      <td>libpcre2-8-0-10.42-1-amd64.deb</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>41</th>\n",
       "      <td>libseccomp2-2.5.4-1+deb12u1-amd64.deb</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>42</th>\n",
       "      <td>libselinux1-3.4-1+b6-amd64.deb</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>43</th>\n",
       "      <td>libsmartcols1-2.38.1-5+deb12u3-amd64.deb</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>44</th>\n",
       "      <td>libss2-1.47.0-2-amd64.deb</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>45</th>\n",
       "      <td>libssl3-3.0.16-1~deb12u1-amd64.deb</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>46</th>\n",
       "      <td>libsystemd-shared-252.38-1~deb12u1-amd64.deb</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>47</th>\n",
       "      <td>libsystemd0-252.38-1~deb12u1-amd64.deb</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>48</th>\n",
       "      <td>libudev1-252.38-1~deb12u1-amd64.deb</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>49</th>\n",
       "      <td>libuuid1-2.38.1-5+deb12u3-amd64.deb</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>50</th>\n",
       "      <td>libzstd1-1.5.4+dfsg2-5-amd64.deb</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>51</th>\n",
       "      <td>linux-base-4.9-all.deb</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>52</th>\n",
       "      <td>linux-image-6.1.0-37-amd64-6.1.140-1-amd64.deb</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>53</th>\n",
       "      <td>logsave-1.47.0-2-amd64.deb</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>54</th>\n",
       "      <td>mount-2.38.1-5+deb12u3-amd64.deb</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>55</th>\n",
       "      <td>systemd-dev-254.26-1~bpo12+1-all.deb</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>56</th>\n",
       "      <td>systemd-standalone-sysusers-252.38-1~deb12u1-a...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>57</th>\n",
       "      <td>systemd-252.38-1~deb12u1-amd64.deb</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>58</th>\n",
       "      <td>udev-252.38-1~deb12u1-amd64.deb</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "                                                    0\n",
       "0                           coreutils-9.1-1-amd64.deb\n",
       "1                        cpio-2.13+dfsg-7.1-amd64.deb\n",
       "2                              debconf-1.5.82-all.deb\n",
       "3                    dmsetup-2%3a1.02.185-2-amd64.deb\n",
       "4                        e2fsprogs-1.47.0-2-amd64.deb\n",
       "5             gcc-12-base-12.2.0-14+deb12u1-amd64.deb\n",
       "6          initramfs-tools-core-0.142+deb12u3-all.deb\n",
       "7               initramfs-tools-0.142+deb12u3-all.deb\n",
       "8                      klibc-utils-2.0.12-1-amd64.deb\n",
       "9                        kmod-30+20221128-1-amd64.deb\n",
       "10                          libacl1-2.3.1-3-amd64.deb\n",
       "11                     libapparmor1-3.0.8-3-amd64.deb\n",
       "12       libargon2-1-0~20171227-0.3+deb12u1-amd64.deb\n",
       "13                     libattr1-1%3a2.5.1-4-amd64.deb\n",
       "14                libaudit-common-1%3a3.0.9-1-all.deb\n",
       "15                    libaudit1-1%3a3.0.9-1-amd64.deb\n",
       "16               libblkid1-2.38.1-5+deb12u3-amd64.deb\n",
       "17                    libc6-2.36-9+deb12u10-amd64.deb\n",
       "18                    libcap-ng0-0.8.3-1+b3-amd64.deb\n",
       "19               libcap2-1%3a2.66-4+deb12u1-amd64.deb\n",
       "20                     libcom-err2-1.47.0-2-amd64.deb\n",
       "21                   libcrypt1-1%3a4.4.33-2-amd64.deb\n",
       "22      libcryptsetup12-2%3a2.6.1-4~deb12u2-amd64.deb\n",
       "23        libdevmapper1.02.1-2%3a1.02.185-2-amd64.deb\n",
       "24                      libext2fs2-1.47.0-2-amd64.deb\n",
       "25               libfdisk1-2.38.1-5+deb12u3-amd64.deb\n",
       "26                          libffi8-3.4.4-1-amd64.deb\n",
       "27              libgcc-s1-12.2.0-14+deb12u1-amd64.deb\n",
       "28                     libgcrypt20-1.10.1-3-amd64.deb\n",
       "29             libgmp10-2%3a6.2.1+dfsg1-1.1-amd64.deb\n",
       "30                     libgpg-error0-1.46-1-amd64.deb\n",
       "31                        libip4tc2-1.8.9-2-amd64.deb\n",
       "32                        libjson-c5-0.16-2-amd64.deb\n",
       "33                        libklibc-2.0.12-1-amd64.deb\n",
       "34                   libkmod2-30+20221128-1-amd64.deb\n",
       "35                         liblz4-1-1.9.4-1-amd64.deb\n",
       "36                         liblzma5-5.4.1-1-amd64.deb\n",
       "37               libmount1-2.38.1-5+deb12u3-amd64.deb\n",
       "38                     libp11-kit0-0.24.1-2-amd64.deb\n",
       "39                 libpam0g-1.5.2-6+deb12u1-amd64.deb\n",
       "40                     libpcre2-8-0-10.42-1-amd64.deb\n",
       "41              libseccomp2-2.5.4-1+deb12u1-amd64.deb\n",
       "42                     libselinux1-3.4-1+b6-amd64.deb\n",
       "43           libsmartcols1-2.38.1-5+deb12u3-amd64.deb\n",
       "44                          libss2-1.47.0-2-amd64.deb\n",
       "45                 libssl3-3.0.16-1~deb12u1-amd64.deb\n",
       "46       libsystemd-shared-252.38-1~deb12u1-amd64.deb\n",
       "47             libsystemd0-252.38-1~deb12u1-amd64.deb\n",
       "48                libudev1-252.38-1~deb12u1-amd64.deb\n",
       "49                libuuid1-2.38.1-5+deb12u3-amd64.deb\n",
       "50                   libzstd1-1.5.4+dfsg2-5-amd64.deb\n",
       "51                             linux-base-4.9-all.deb\n",
       "52     linux-image-6.1.0-37-amd64-6.1.140-1-amd64.deb\n",
       "53                         logsave-1.47.0-2-amd64.deb\n",
       "54                   mount-2.38.1-5+deb12u3-amd64.deb\n",
       "55               systemd-dev-254.26-1~bpo12+1-all.deb\n",
       "56  systemd-standalone-sysusers-252.38-1~deb12u1-a...\n",
       "57                 systemd-252.38-1~deb12u1-amd64.deb\n",
       "58                    udev-252.38-1~deb12u1-amd64.deb"
      ]
     },
     "execution_count": 6,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "Will_Delete_deb_Packages_DataFrame = Read_Will_Delete_deb_Packages(\"./Pack_Archive_Will_Delete\")\n",
    "Will_Delete_deb_Packages_DataFrame[0] = Will_Delete_deb_Packages_DataFrame[0].apply(lambda x: x.replace('_', '-'))\n",
    "Will_Delete_deb_Packages_DataFrame"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "id": "357514ab-e603-4694-8c09-71f0098f7f74",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "['coreutils-9.1-1-amd64.deb',\n",
       " 'cpio-2.13+dfsg-7.1-amd64.deb',\n",
       " 'e2fsprogs-1.47.0-2-amd64.deb',\n",
       " 'initramfs-tools-0.142+deb12u3-all.deb',\n",
       " 'initramfs-tools-core-0.142+deb12u3-all.deb',\n",
       " 'klibc-utils-2.0.12-1-amd64.deb',\n",
       " 'kmod-30+20221128-1-amd64.deb',\n",
       " 'libattr1-1%3a2.5.1-4-amd64.deb',\n",
       " 'libext2fs2-1.47.0-2-amd64.deb',\n",
       " 'libklibc-2.0.12-1-amd64.deb',\n",
       " 'libss2-1.47.0-2-amd64.deb',\n",
       " 'linux-base-4.9-all.deb',\n",
       " 'linux-image-6.1.0-37-amd64-6.1.140-1-amd64.deb',\n",
       " 'logsave-1.47.0-2-amd64.deb',\n",
       " 'systemd-standalone-sysusers-252.38-1~deb12u1-amd64.deb',\n",
       " 'udev-252.38-1~deb12u1-amd64.deb']"
      ]
     },
     "execution_count": 7,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "Confirm_Delete:list = []\n",
    "# ..................................................\n",
    "for idx, row in Will_Delete_deb_Packages_DataFrame.iterrows():\n",
    "    deb_Package = row[0]\n",
    "    if (deb_Package not in Will_Retain_deb_Packages_DataFrame[0].values):\n",
    "        Confirm_Delete.append(deb_Package)\n",
    "# ..................................................\n",
    "Confirm_Delete = list(set(Confirm_Delete))\n",
    "Confirm_Delete.sort()\n",
    "Confirm_Delete"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "ed19b8f1-5e10-4fbd-8b4a-97d655c78183",
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3 (ipykernel)",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.14.0"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
